package com.rongke.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rongke.utils.DateJsonDeserializer;
import com.rongke.utils.DateJsonSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @AdminRolePermission
 * @(admin_role_permission)
 * @version : Ver 1.0
 */
@TableName("admin_role_permission")
public class AdminRolePermission implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:
	 * @字段:id INT(10)
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;


	/**
	 * @备注:角色id
	 * @字段:admin_role_id INT(10)
	 */
	private Integer adminRoleId;


	/**
	 * @备注:权限id
	 * @字段:admin_permission_id INT(10)
	 */
	private Integer adminPermissionId;


	public AdminRolePermission(){
	}

	public AdminRolePermission(
		Integer id
	){
		this.id = id;
	}



	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return this.id;
	}


	public void setAdminRoleId(Integer adminRoleId) {
		this.adminRoleId = adminRoleId;
	}

	public Integer getAdminRoleId() {
		return this.adminRoleId;
	}


	public void setAdminPermissionId(Integer adminPermissionId) {
		this.adminPermissionId = adminPermissionId;
	}

	public Integer getAdminPermissionId() {
		return this.adminPermissionId;
	}
}
